package com.njtoyo.taxi.admin.rest.presenter.finance;

import com.njtoyo.taxi.admin.library.common.Enum;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("补贴统计报表")
public class FinanceAllowanceStatsPresenter {

    private MainBody mainBody;

    @Data
    public static class MainBody {
        private Enum.MainBodyType mainBodyType;
        private Long id;
        private String name;
    }

    private MainData mainData;

    @Data
    public static class MainData {
        private BigDecimal allowancePerRide = BigDecimal.ZERO;
        private BigDecimal couponDeductedAmount = BigDecimal.ZERO;
        private Long couponGrantedCount = 0L;
        private Long couponUsedCount = 0L;
        private BigDecimal couponUsedRate = BigDecimal.ZERO;
        private BigDecimal customerAppRideReward = BigDecimal.ZERO;
        private BigDecimal customerWxminaRideReward = BigDecimal.ZERO;
        private BigDecimal driverRideReward = BigDecimal.ZERO;
        private Long onlineRideCount = 0L;
    }
}
